
package com.scs.application.modules.base.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.modules.base.entity.Supplier;
import com.scs.application.modules.base.request.SupplierQueryRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 供应商 mapper对象
 */
@Mapper
public interface SupplierMapper extends BaseMapper<Supplier> {

    /**
     * 查询当前医院下不存在供应商
     */
    IPage<Supplier> pageHospitalNotExist(IPage page, @Param("request") SupplierQueryRequest request);

    int insertBatchSomeColumn(@Param("list") List<Supplier> entityList);

}
